<?php
declare (strict_types = 1);

namespace app\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\facade\Event;

class Timer extends Command
{
    protected function configure()
    {
        // 指令配置
        $this->setName('Timer')
            ->setDescription('定时任务');
    }

    protected function execute(Input $input, Output $output)
    {
        Event::trigger('AddGameLog');
    }
}
